home *** CD-ROM | disk | FTP | other *** search
/ Suzy B Software 2 / Suzy B Software CD-ROM 2 (1994).iso / extras / programm / gemfsc20 / gemfsc20.lzh / GEMFBIND / VQTATTR.S < prev    next >
Text File  |  1993-03-16  |  911b  |  35 lines

  1. ;*========================================================================
  2. ;* VDIFAST Public Domain VDI bindings.
  3. ;*========================================================================
  4.  
  5.  
  6. ;*------------------------------------------------------------------------
  7. ;* Inquire text attributes.
  8. ;*------------------------------------------------------------------------
  9.  
  10.           globl     _vqt_attributes
  11. _vqt_attributes:
  12. ;    .cargs    #8,handle.w,attrib.l
  13.  
  14. handle      =         8
  15. attrib      =         10
  16.  
  17.           link        a6,#0
  18.  
  19. ;          VContrl    #38
  20.           move.w    handle(a6),-(sp)    ; contrl[6]
  21.           clr.l     -(sp)                ; contrl[5,4]
  22.           clr.l     -(sp)                ; contrl[3,2]
  23.           clr.w     -(sp)                ; contrl[1]
  24.           move.w    #38,-(sp)            ; contrl[0]
  25.  
  26.           move.l    attrib(a6),a0
  27.           pea        12(a0)                ;* -> ptsout
  28.           move.l    a0,-(sp)            ;* -> intout
  29.           subq.l    #8,sp                ;* -> ptsin, intin
  30.           pea        16(sp)                ;* -> contrl
  31.  
  32.           jmp        vdicall
  33.  
  34.           end
  35.